<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class ServerCat_model extends MY_Model {
	
	public function __construct(){
		parent::__construct();	
		$this->setTableName('u_c_sever_cat');
	}
	
	public function name4Classid($classid){
		$re = $this->select('name','classid='.$classid);
		return $re[0];
	}
	
}
?>